﻿using System;

namespace Kivensoft.XlsWriter {
    [Serializable]
    public class OutOfRangeException : Exception {
        public OutOfRangeException() : base() { }
        public OutOfRangeException(string message) : base(message) { }
    }

    [Serializable]
    public class FormatException : Exception {
        public FormatException() : base() { }
        public FormatException(string message) : base(message) { }
        public FormatException(string message, Exception inner) : base(message, inner) { }
    }

    [Serializable]
    public class IOException : Exception {
        public IOException() : base() { }
        public IOException(string message) : base(message) { }
        public IOException(string message, Exception inner) : base(message, inner) { }
    }

    [Serializable]
    public class WorksheetNameAlreadxExistsException : Exception {
        public WorksheetNameAlreadxExistsException() : base() { }
        public WorksheetNameAlreadxExistsException(string message) : base(message) { }
    }

    [Serializable]
    public class UnknownWorksheetException : Exception {
        public UnknownWorksheetException() : base() { }
        public UnknownWorksheetException(string message) : base(message) { }
    }

    [Serializable]
    public class UndefinedStyleException : Exception {
        public UndefinedStyleException() : base() { }
        public UndefinedStyleException(string message) : base(message) { }
    }

    [Serializable]
    public class UnknownRangeException : Exception {
        public UnknownRangeException() : base() { }
        public UnknownRangeException(string message) : base(message) { }
    }

}
